<? if($this->pageArray['pageNumber']>0):?>

				<table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CEE7FF" style="border-collapse:collapse">

					<tr>

						<td width="5%" class="bbgg">

							<strong>编号</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>比赛时间</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>A队</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>A队成绩</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>A队总下注</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>B队</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>B队成绩</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>B队总下注</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>总返积分</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>比赛状态</strong>

						</td>

						<td width="10%" class="bbgg">

							<strong>操作</strong>

						</td>

					</tr>		

					<? for($i=0;$i<count($this->matchArray);$i++):?>						

					<tr bgcolor="#FFFFFF">

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['MatchID']?>

						</td>

						<td align="center" valign="middle">

							<?=date('Y-m-d H:i:s',$this->matchArray[$i]['MatchTime'])?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['TeamAN']?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['TeamAScore']?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['ChipInA']?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['TeamBN']?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['TeamBScore']?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['ChipInB']?>

						</td>

						<td align="center" valign="middle">

							<?=$this->matchArray[$i]['ReturnScore']?>

						</td>

						<td align="center" valign="middle">

							<?php
								$print_str = '';
								switch ($this->matchArray[$i]['MatchStatus'])
								{
									case 0:
										$print_str = '未开始';
										break;
									case 1:
										$print_str = '进行中';
										break;
									case 2:
										$print_str = '未发放';
										break;
									case 3:
										$print_str = '已发放';
										break;
								}
								echo $print_str;
							?>

						</td>

						<td align="center" valign="middle">

							<a href="administrator-match-delete?id=<?=$this->matchArray[$i]['MatchID']?>" onclick="if(!confirm('是否确定删除?')) { return false; }">删除</a>
							<a href="administrator-match-edit?id=<?=$this->matchArray[$i]['MatchID']?>" >编辑</a>
							<a href="administrator-match-detail?id=<?=$this->matchArray[$i]['MatchID']?>">详细</a>

						</td>

					</tr>

					<? endfor;?>													

				</table>
			<br />

				<div class="factory_page">共 <?=$this->pageArray['pageNumber']?> 页/当前<?php echo $this->pageArray['page'];?>　<?=$this->pageString?></div>
				<div style="clear: both"></div>
<?else:?>

<?=$this->getMsg('暂无比赛信息! <a href="javascript:history.back(-1);">返回</a>');?>
<?endif;?>